home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 3 / Light ROM 3 - Disc 2.iso / programs / amiga / misc / nu_vd0 / readme < prev   
Text File  |  1993-06-25  |  7KB  |  182 lines

  1. ----------------------------------------------------------------------------
  2.  
  3.                                  STAT-RAM 2.1
  4.  
  5. ----------------------------------------------------------------------------
  6.  
  7. A joint effort by
  8.  
  9. Richard Waspe
  10. INTERNET : waspy@cix.compulink.co.uk
  11. USENET   : rwaspe@hamlet.adsp.sub.org
  12. FIDONET  : 2:255/72.2
  13.  
  14. Nicola Salmoria
  15. INTERNET : MC6489@mclink.it
  16.  
  17.  
  18.  
  19.  
  20. StatRam is a very fast, very recoverable ram drive. It works on any
  21. Amiga using V2.04 or greater of the OS. It maintains the remarkable
  22. recoverability of the original VD0:, but has now been totally
  23. re-written to handle any DOS filesystem, be named what you like, and
  24. give back memory from deleted files instantly. Please follow these
  25. instructions closely as the setup is very different from earlier
  26. versions of StatRam.
  27.  
  28.  
  29.  
  30. The files in this archive are based on asdg.vdisk.device, originally
  31.  
  32. **  Copyright 1987 By Perry S. Kivolowitz (ASDG Incorporated) All Rights
  33. **  Reserved to Author. NOT IN THE PUBLIC DOMAIN.
  34.  
  35. We are not willing to infringe copyright laws; but since there hasn't been
  36. any update in the last five years, we are trying to provide an useful tool
  37. to the Amiga community. StatRam 2 has been so totally re-written,
  38. there is almost none of the original remaining. However, the same
  39. distribution restrictions of the original apply:
  40.  
  41. **  May not be distributed by any commercial software or hardware vendor.
  42. **  May not be sold under any guise.
  43. **  Must (please) contain this and copyright information above and below.
  44. **
  45. **  Specifically:
  46. **
  47. **  No maker or seller of Amiga  expansion  hardware or software may dis-
  48. **  tribute this  software in  *any* way. No  reseller  of  public domain
  49. **  software may distribute this software either (as this is *NOT* in the
  50. **  public domain).
  51. **
  52. **  The only acceptable means of  distribution is by networks, bbs's, fnf,
  53. **  and by (non-profit) user groups. Distribution MUST BE FREE (except for
  54. **  media costs plus a token amount covering only shipping and handling).
  55.  
  56.  
  57.  
  58. Overview
  59. --------
  60. Some of you will remember, and maybe still use, one of the first
  61. recoverable ram disks ever written for the Amiga: VD0.
  62. VD0 is quite good at its job, and is probably the one which resists the
  63. heaviest system crashes. It also uses memory in a very efficient way,
  64. starting from the bottom of the memory pool and thus avoiding
  65. fragmentation. This also means that if you have both 32-bit (fast!) and
  66. 16-bit (slow!) memory, it will use 16-bit memory first, leaving the faster
  67. memory for more important tasks.
  68.  
  69. Unfortunately, VD0 also shows its age. It doesn't support FastFileSystem,
  70. and it doesn't work on machines which don't have fast memory in 24-bit
  71. addressing space.
  72.  
  73. Here is the solution. We have completely disassembled asdg.vdisk.device,
  74. and made major changes and enhancements in it. The result is a new device
  75. called static.device, which holds the advantages of VD0 and enhances them
  76. with new features. Static.device:
  77. - Supports all filesystems from OFS to the new DCFS provided with OS 3.0.
  78. - Works on all machines. At least, we hope so.
  79. - Frees unused memory almost instantly..
  80. - May be named anyway you like - it's not stuck to SD0:
  81. - Will test sector checksums on every read (_very_ important with Fast
  82.   File System which doesn't do it by itself).
  83.  
  84.  
  85. Installation
  86. ------------
  87. - Copy static.device to DEVS:
  88. - If you have Workbench 2.1 or later, drag the icon SD0 to DEVS:DOSDrivers.
  89.   If you have Workbench 2.04, join the file named Mountlist to
  90.   DEVS:Mountlist, and add a 'Mount SD0:' command to your user-startup.
  91.   Otherwise, you're in bad luck: it won't work with previous releases of
  92.   the operating system.
  93.  
  94.  
  95. Configuration
  96. -------------
  97. You may control three aspects of SD0:
  98. - Its size
  99. - The type of memory it uses
  100. - The filesystem it uses
  101.  
  102. These changes are performed modifying some parameters in the mount
  103. information.
  104. If you are using Workbench 2.04, you have to edit DEVS:Mountlist by hand;
  105. otherwise, modify the ToolTypes in the DEVS:DOSDrivers/SD0 icon.
  106.  
  107. Modifiable parameters are:
  108.  
  109. HIGHCYL
  110.   This one determines the _maximum_ size of SD0. The device will
  111.   dinamically allocate memory only when it's needed, growing and shrinking
  112.   as you copy and delete files in it.
  113.  
  114.   SD0 uses tracks of 16 512 bytes sectors, that is 8k per track.
  115.   The total size in kilobytes therefore (HighCyl+1)*8.
  116.   Suggested HighCyl values are:
  117.  
  118.   Fast Ram Installed   HighCyl Value     Max Ram Disk Size
  119.  
  120.        0                  15                 128K
  121.      512Kbyte             31                 256K
  122.        1Mbyte             63-95              512K-768K
  123.        2Mbytes           127-191           1Mbyte-1.5Mbytes
  124.        4Mbytes           255-383          2Mbytes-3Mbytes
  125.        8Mbytes           511-767          4Mbytes-6Mbytes
  126.  
  127.   **** This value MUST be odd! ****
  128.  
  129.   The maximum allowed value is 1023; however remember that it is _much_
  130.   better to fill the disk than to run out of memory. So, make sure that
  131.   you don't set HighCyl too high.
  132.  
  133.  
  134. BUFMEMTYPE
  135.   If you have some fast memory, leave this set to 5.
  136.   If you only have chip memory, set it to 3.
  137.  
  138.  
  139. DOSTYPE
  140.   This tells the system which file system to use. Possible values are:
  141.  
  142.   0x444F5300  Old File System
  143.   0x444F5301  Fast File System
  144.   0x444F5302  Old File System International
  145.   0x444F5303  Fast File System International
  146.   0x444F5304  Old File System - Directory Cache  (OS 3.0 only)
  147.   0x444F5305  Fast File System - Directory Cache (OS 3.0 only)
  148.  
  149.   You will most probably leave this field to its default value.
  150.   Note that there is really no point in using the Directory Cache file
  151.   systems on a ram disk - they will actually slow it down.
  152.  
  153.  
  154. Other Utilities
  155. ---------------
  156. The command 'KillSD0' is used to clear the contents of the ram disk.
  157. Note that the disk will not be erased immediately, but only the next time
  158. you reset.
  159.  
  160.  
  161. Hints and Tips
  162. --------------
  163. Many people like to completely replace the standard RAM: volume with the
  164. recoverable ram disk. This can be easily done by changing the name of the
  165. mount entry from SD0 to RAM, and adding the following lines at the
  166. beginning of the startup-sequence, before any reference to RAM: (but after
  167. SetPatch):
  168.  
  169. Assign ENV: SYS:
  170. Assign RAM: DISMOUNT
  171. Mount RAM:
  172.  
  173.  
  174. Revision History
  175. ----------------
  176. 2.1 (25.6.93)
  177. - Wasn't surviving resets on machines with memory at $C00000 (aka Ranger
  178.   Memory). Now, Ranger Memory is never used. This means that on 1M machines
  179.   only Chip Memory is available for the ram disk.
  180.  
  181. - Added the Hints and Tips section to the docs.
  182.